home *** CD-ROM | disk | FTP | other *** search
/ Hyper Stacks 1994 May / Hyper Stacks (Pacific HiTech)(1994)[Mac].iso / HyperTalk / Stack Starter ß.976 / Stack Starter fl.976 / card_7555.txt < prev    next >
Encoding:
Text File  |  1988-08-03  |  21.4 KB  |  992 lines

  1. -- card: 7555 from stack: in.976
  2. -- bmap block id: 8345
  3. -- flags: 0000
  4. -- background id: 2295
  5. -- name: the button breeder
  6.  
  7.  
  8. -- part 1 (button)
  9. -- low flags: 00
  10. -- high flags: 8004
  11. -- rect: left=28 top=104 right=154 bottom=67
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 4354 / 4354
  14. -- text alignment: 1
  15. -- font id: 0
  16. -- text size: 14
  17. -- style flags: 16128
  18. -- line height: 19
  19. -- part name: Create
  20. ----- HyperTalk script -----
  21. on mouseUp
  22.   put "Please hold the command Key down for full options"
  23.   doMenu "New Button"
  24.   hide msg
  25. end mouseUp
  26.  
  27.  
  28. -- part 2 (button)
  29. -- low flags: 00
  30. -- high flags: 8004
  31. -- rect: left=70 top=104 right=154 bottom=109
  32. -- title width / last selected line: 0
  33. -- icon id / first selected line: 31 / 31
  34. -- text alignment: 1
  35. -- font id: 0
  36. -- text size: 14
  37. -- style flags: 16128
  38. -- line height: 19
  39. -- part name: Fonts
  40. ----- HyperTalk script -----
  41. on mouseUp
  42.   set icon of me to 15421
  43.   play "Click"
  44.   set icon of me to 31
  45.   play "Click"
  46.   changeFont
  47. end mouseUp
  48.  
  49.  
  50. -- part 3 (button)
  51. -- low flags: 00
  52. -- high flags: 8000
  53. -- rect: left=28 top=157 right=207 bottom=67
  54. -- title width / last selected line: 0
  55. -- icon id / first selected line: 4227 / 4227
  56. -- text alignment: 1
  57. -- font id: 0
  58. -- text size: 14
  59. -- style flags: 16128
  60. -- line height: 19
  61. -- part name: 
  62. ----- HyperTalk script -----
  63. on mouseUp
  64.   set icon of me to 4225
  65.   play "click"
  66.   set icon of me to 4227
  67.   play "click" fe
  68.   scroll R
  69.   go to card "pushbuttons and switches"
  70. end mouseUp
  71.  
  72.  
  73.  
  74. -- part 4 (button)
  75. -- low flags: 00
  76. -- high flags: A000
  77. -- rect: left=70 top=157 right=207 bottom=108
  78. -- title width / last selected line: 0
  79. -- icon id / first selected line: 4363 / 4363
  80. -- text alignment: 1
  81. -- font id: 0
  82. -- text size: 14
  83. -- style flags: 16128
  84. -- line height: 19
  85. -- part name: 
  86. ----- HyperTalk script -----
  87. on mouseUp
  88.   set icon of me to 4365
  89.   set icon of me to 4364
  90.   set icon of me to 4363
  91.   scroll R
  92.   go to card "multi-icon buttons"
  93. end mouseUp
  94.  
  95.  
  96. -- part 5 (button)
  97. -- low flags: 00
  98. -- high flags: A004
  99. -- rect: left=28 top=245 right=295 bottom=67
  100. -- title width / last selected line: 0
  101. -- icon id / first selected line: 4188 / 4188
  102. -- text alignment: 1
  103. -- font id: 0
  104. -- text size: 12
  105. -- style flags: 0
  106. -- line height: 16
  107. -- part name: Info
  108. ----- HyperTalk script -----
  109. on mouseUp
  110.   do short name of me
  111. end mouseUp
  112.  
  113.  
  114.  
  115. -- part 6 (button)
  116. -- low flags: 00
  117. -- high flags: 8004
  118. -- rect: left=70 top=245 right=295 bottom=109
  119. -- title width / last selected line: 0
  120. -- icon id / first selected line: 4179 / 4179
  121. -- text alignment: 1
  122. -- font id: 0
  123. -- text size: 12
  124. -- style flags: 0
  125. -- line height: 16
  126. -- part name: Map
  127. ----- HyperTalk script -----
  128. on mouseUp
  129.   doMenu short name of me
  130. end mouseUp
  131.  
  132.  
  133. -- part 7 (button)
  134. -- low flags: 80
  135. -- high flags: A002
  136. -- rect: left=127 top=79 right=96 bottom=264
  137. -- title width / last selected line: 0
  138. -- icon id / first selected line: 0 / 0
  139. -- text alignment: 0
  140. -- font id: 0
  141. -- text size: 12
  142. -- style flags: 0
  143. -- line height: 16
  144. -- part name: Double-click Here
  145. ----- HyperTalk script -----
  146. on mouseUp
  147.   if first word of the short name of me is "card" then
  148.     set the name of me to "Double-click Here"
  149.     exit mouseUp
  150.   end if
  151.   if the short name of me is "Double-click Here" then
  152.     set the name of me to "Type name of document to be opened here with Type application name here"
  153.   end if
  154.   put the ticks into clock
  155.   repeat until the mouseClick
  156.     if clock > 30 then
  157.       if first word of the short name of me is "card" then
  158.         set the name of me to "Double-click Here"
  159.         exit mouseUp
  160.       end if
  161.       if the short name of me is "Double-click Here" then
  162.         exit mouseUp
  163.       end if
  164.       if the short name of me is "Type name of document to be opened here with Type application name here" then
  165.         set the name of me to "Double-click Here"
  166.         exit mouseUp
  167.       end if
  168.       put offset ("with", short name of me) into lim1
  169.       put char 1 to lim1-2 of short name of me into doc1
  170.       get length (short name of me)
  171.       put char lim1+5 to it of short name of me into apl1
  172.       open doc1 with apl1
  173.       exit mouseUp
  174.     end if
  175.   end repeat
  176.   put the short name of me into nam1
  177.   put offset ("with", short name of me) into lim1
  178.   put char 1 to lim1-2 of short name of me into doc1
  179.   get length (short name of me)
  180.   put char lim1+5 to it of short name of me into apl1
  181.   ask "Open what non-HyperCard document?" with doc1
  182.   set the name of me to it
  183.   put it into doc2
  184.   ask "What application does this document require" with apl1
  185.   if it is empty then
  186.     put apl1 into it
  187.   end if
  188.   put short name of me && "with" && it into temp
  189.   set the name of me to temp
  190.   put it into apl2
  191.   if the short name of me is "Type name of document to be opened here with Type application name here" then
  192.     set the name of me to "Double-click Here"
  193.     exit mouseUp
  194.   end if
  195.   if first word of the short name of me is "card" then
  196.     set the name of me to nam1
  197.     exit mouseUp
  198.   else
  199.     open doc2 with apl2
  200.   end if
  201.   pass mouseUp
  202. end mouseUp
  203.  
  204.  
  205. -- part 8 (button)
  206. -- low flags: 80
  207. -- high flags: A002
  208. -- rect: left=127 top=98 right=114 bottom=264
  209. -- title width / last selected line: 0
  210. -- icon id / first selected line: 0 / 0
  211. -- text alignment: 1
  212. -- font id: 0
  213. -- text size: 12
  214. -- style flags: 0
  215. -- line height: 16
  216. -- part name: Sort Cards by Name
  217. ----- HyperTalk script -----
  218. on mouseUp
  219.   lockcard
  220.   push card
  221.   answer "Sort all cards of this stack according to:" with "First Name" or "Last Name" or "Cancel"
  222.   if it is "Cancel" then exit mouseUp
  223.   put it into findName
  224.   ask "Name of field where names are" with "Type Card or Field & Name here."
  225.   if it is "Cancel" then exit mouseUp
  226.   put it into findField
  227.   if findName is "First Name" then
  228.     go to first card
  229.     find findField
  230.     if the result <> empty then answer "Sorry, can't find that field."
  231.     else
  232.       sort by first word of first line of findField
  233.       answer "Sort has been successfully completed."
  234.     end if
  235.   else if findName is "Last Name" then
  236.     go to first card
  237.     find findField
  238.     if the result <> empty then answer "Sorry, can't find that field."
  239.     else
  240.       sort by last word of first line of findField
  241.       answer "Sort has been successfully completed."
  242.     end if
  243.   end if
  244.   pop card
  245. end mouseUp
  246.  
  247.  
  248.  
  249. -- part 9 (button)
  250. -- low flags: 80
  251. -- high flags: A002
  252. -- rect: left=127 top=116 right=134 bottom=264
  253. -- title width / last selected line: 0
  254. -- icon id / first selected line: 0 / 0
  255. -- text alignment: 1
  256. -- font id: 0
  257. -- text size: 12
  258. -- style flags: 0
  259. -- line height: 16
  260. -- part name: Sort Cards by Num.
  261. ----- HyperTalk script -----
  262. on mouseUp
  263.   lockcard
  264.   push card
  265.   answer "Sort all cards of this stack according to:" with "Ascending" or "Descending" or "Cancel"
  266.   if it is "Cancel" then exit mouseUp
  267.   put it into findNumber
  268.   ask "Name of field where numbers are" with "Type Card or Field & Name here."
  269.   if it is "Cancel" then exit mouseUp
  270.   go to first card
  271.   find it
  272.   if the result <> empty then answer "Sorry, can't find that field."
  273.   else if findNumber is "Ascending" then
  274.     Sort ascending numeric by it
  275.     answer "Sort has been successfully completed."
  276.   else if findNumber is "Descending" then
  277.     Sort Descending numeric by it
  278.     answer "Sort has been successfully completed."
  279.   end if
  280.   pop card
  281. end mouseUp
  282.  
  283.  
  284.  
  285. -- part 10 (button)
  286. -- low flags: 80
  287. -- high flags: A002
  288. -- rect: left=127 top=136 right=153 bottom=264
  289. -- title width / last selected line: 0
  290. -- icon id / first selected line: 0 / 0
  291. -- text alignment: 1
  292. -- font id: 0
  293. -- text size: 12
  294. -- style flags: 0
  295. -- line height: 16
  296. -- part name: HomeCard Icon
  297. ----- HyperTalk script -----
  298. on mouseUp
  299.   InstallHomeCardIcon
  300. end mouseUp
  301.  
  302.  
  303.  
  304. -- part 11 (button)
  305. -- low flags: 80
  306. -- high flags: 8002
  307. -- rect: left=127 top=155 right=172 bottom=264
  308. -- title width / last selected line: 0
  309. -- icon id / first selected line: 0 / 0
  310. -- text alignment: 1
  311. -- font id: 0
  312. -- text size: 12
  313. -- style flags: 0
  314. -- line height: 16
  315. -- part name: Don't Click Here!
  316. ----- HyperTalk script -----
  317. on mouseUp
  318.   overLoad
  319. end mouseUp
  320.  
  321.  
  322. -- part 12 (button)
  323. -- low flags: 80
  324. -- high flags: 8002
  325. -- rect: left=127 top=174 right=191 bottom=264
  326. -- title width / last selected line: 0
  327. -- icon id / first selected line: 0 / 0
  328. -- text alignment: 1
  329. -- font id: 0
  330. -- text size: 12
  331. -- style flags: 0
  332. -- line height: 16
  333. -- part name: Crash
  334. ----- HyperTalk script -----
  335. on mouseUp
  336.   doMenu short name of me
  337. end mouseUp
  338.  
  339.  
  340.  
  341.  
  342.  
  343. -- part 13 (button)
  344. -- low flags: 80
  345. -- high flags: A002
  346. -- rect: left=127 top=193 right=209 bottom=264
  347. -- title width / last selected line: 0
  348. -- icon id / first selected line: 0 / 0
  349. -- text alignment: 1
  350. -- font id: 0
  351. -- text size: 12
  352. -- style flags: 0
  353. -- line height: 16
  354. -- part name: Control Panel
  355. ----- HyperTalk script -----
  356. on mouseUp
  357.   doMenu short name of me
  358. end mouseUp
  359.  
  360.  
  361.  
  362. -- part 14 (button)
  363. -- low flags: 80
  364. -- high flags: A002
  365. -- rect: left=127 top=211 right=227 bottom=264
  366. -- title width / last selected line: 0
  367. -- icon id / first selected line: 0 / 0
  368. -- text alignment: 1
  369. -- font id: 0
  370. -- text size: 12
  371. -- style flags: 0
  372. -- line height: 16
  373. -- part name: Find ....
  374. ----- HyperTalk script -----
  375. on mouseUp
  376.   Ask "Find what item?" with "Type name of item here."
  377.   if it is "Type name of item here." then exit mouseUp
  378.   put it into findItem
  379.   put false into compare
  380.   repeat until compare
  381.     find findItem
  382.     repeat with x= 1 to 500
  383.     end repeat
  384.     answer "Find:" && (findItem) & "?" with "Yes" or "No" or "Cancel"
  385.     if it is "Yes" then put true into compare
  386.     if it is "Cancel" then exit mouseUp
  387.     if it is "No" then send mouseUp to me
  388.   end repeat
  389. end mouseUp
  390.  
  391.  
  392.  
  393.  
  394.  
  395. -- part 15 (button)
  396. -- low flags: 80
  397. -- high flags: A000
  398. -- rect: left=127 top=229 right=274 bottom=204
  399. -- title width / last selected line: 0
  400. -- icon id / first selected line: 32670 / 32670
  401. -- text alignment: 1
  402. -- font id: 0
  403. -- text size: 12
  404. -- style flags: 0
  405. -- line height: 16
  406. -- part name: Show All Cards
  407. ----- HyperTalk script -----
  408. on mouseUp
  409.   if icon of me is 32670 then
  410.     set icon of me to 26455
  411.     set name of me to "Stop"
  412.     play "Click"
  413.     put the name of this card into start
  414.     show all cards
  415.     if the name of this card is not start then
  416.       go to prev card
  417.     end if
  418.   end if
  419.   if icon of me is 26455 then
  420.     set icon of me to 32670
  421.     play "Click"
  422.     set name of me to "Show All Cards"
  423.     exit mouseUp
  424.   end if
  425.   exit mouseUp
  426.   pass mouseUp
  427. end mouseUp
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434.  
  435.  
  436.  
  437.  
  438. -- part 16 (button)
  439. -- low flags: 80
  440. -- high flags: A003
  441. -- rect: left=205 top=229 right=274 bottom=264
  442. -- title width / last selected line: 0
  443. -- icon id / first selected line: 0 / 0
  444. -- text alignment: 1
  445. -- font id: 0
  446. -- text size: 12
  447. -- style flags: 0
  448. -- line height: 16
  449. -- part name: Panic
  450. ----- HyperTalk script -----
  451. on mouseUp
  452.   doMenu short name of me
  453. end mouseUp
  454.  
  455.  
  456.  
  457.  
  458.  
  459. -- part 17 (button)
  460. -- low flags: 80
  461. -- high flags: A004
  462. -- rect: left=127 top=276 right=301 bottom=194
  463. -- title width / last selected line: 0
  464. -- icon id / first selected line: 0 / 0
  465. -- text alignment: 1
  466. -- font id: 3
  467. -- text size: 14
  468. -- style flags: 16640
  469. -- line height: 18
  470. -- part name: Hello
  471. ----- HyperTalk script -----
  472. on mousedown
  473.   put the mouseloc into myPlace
  474.   put item 1 of myPlace - 20 into horiz
  475.   put item 2 of myPlace - 10 into vert
  476.   get PopUpMenu("Hello;my;name;is;Rob", 5, vert, horiz)
  477.   put "You chose item" && it
  478. end mousedown
  479.  
  480.  
  481.  
  482. -- part 18 (button)
  483. -- low flags: 00
  484. -- high flags: 2000
  485. -- rect: left=331 top=138 right=157 bottom=357
  486. -- title width / last selected line: 0
  487. -- icon id / first selected line: 5061 / 5061
  488. -- text alignment: 1
  489. -- font id: 0
  490. -- text size: 12
  491. -- style flags: 0
  492. -- line height: 16
  493. -- part name: 
  494. ----- HyperTalk script -----
  495. on mouseUp
  496.   if (the clickloc) < (loc of me) then
  497.     scroll L
  498.     go this card
  499.   else
  500.     scroll R
  501.     go this card
  502.   end if
  503. end mouseUp
  504.  
  505.  
  506. -- part 19 (button)
  507. -- low flags: 00
  508. -- high flags: 2000
  509. -- rect: left=328 top=161 right=184 bottom=360
  510. -- title width / last selected line: 0
  511. -- icon id / first selected line: 5059 / 5059
  512. -- text alignment: 1
  513. -- font id: 0
  514. -- text size: 12
  515. -- style flags: 0
  516. -- line height: 16
  517. -- part name: Go to prev card
  518. ----- HyperTalk script -----
  519. on mouseUp
  520.   if (the clickloc) < (loc of me) then
  521.     scroll L
  522.     go this card
  523.   else
  524.     scroll R
  525.     go this card
  526.   end if
  527. end mouseUp
  528.  
  529.  
  530. -- part 20 (button)
  531. -- low flags: 00
  532. -- high flags: 2000
  533. -- rect: left=335 top=189 right=213 bottom=354
  534. -- title width / last selected line: 0
  535. -- icon id / first selected line: 5062 / 5062
  536. -- text alignment: 1
  537. -- font id: 0
  538. -- text size: 12
  539. -- style flags: 0
  540. -- line height: 16
  541. -- part name: 
  542. ----- HyperTalk script -----
  543. on mouseUp
  544.   set icon of me to 5062
  545.   if (item 2 of the clickLoc) < (item 2 of loc of me) then
  546.     scroll U
  547.     go this card
  548.   else
  549.     scroll D
  550.     go this card
  551.   end if
  552. end mouseUp
  553.  
  554.  
  555.  
  556. -- part 21 (button)
  557. -- low flags: 00
  558. -- high flags: 2000
  559. -- rect: left=335 top=220 right=250 bottom=353
  560. -- title width / last selected line: 0
  561. -- icon id / first selected line: 5060 / 5060
  562. -- text alignment: 1
  563. -- font id: 0
  564. -- text size: 12
  565. -- style flags: 0
  566. -- line height: 16
  567. -- part name: 
  568. ----- HyperTalk script -----
  569. on mouseUp
  570.   if (item 2 of the clickLoc) < (item 2 of loc of me) then
  571.     scroll U
  572.     go this card
  573.   else
  574.     scroll D
  575.     go this card
  576.   end if
  577. end mouseUp
  578.  
  579.  
  580.  
  581. -- part 22 (button)
  582. -- low flags: 00
  583. -- high flags: 2000
  584. -- rect: left=367 top=136 right=159 bottom=399
  585. -- title width / last selected line: 0
  586. -- icon id / first selected line: 5065 / 5065
  587. -- text alignment: 1
  588. -- font id: 0
  589. -- text size: 12
  590. -- style flags: 0
  591. -- line height: 16
  592. -- part name: Go to prev card
  593. ----- HyperTalk script -----
  594. on mouseUp
  595.   do short name of me
  596. end mouseUp
  597.  
  598.  
  599.  
  600. -- part 23 (button)
  601. -- low flags: 00
  602. -- high flags: 2000
  603. -- rect: left=368 top=161 right=183 bottom=402
  604. -- title width / last selected line: 0
  605. -- icon id / first selected line: 5066 / 5066
  606. -- text alignment: 1
  607. -- font id: 0
  608. -- text size: 12
  609. -- style flags: 0
  610. -- line height: 16
  611. -- part name: Go To Next Card
  612. ----- HyperTalk script -----
  613. on mouseUp
  614.   do short name of me
  615. end mouseUp
  616.  
  617.  
  618.  
  619. -- part 24 (button)
  620. -- low flags: 00
  621. -- high flags: 2000
  622. -- rect: left=448 top=199 right=232 bottom=470
  623. -- title width / last selected line: 0
  624. -- icon id / first selected line: 5068 / 5068
  625. -- text alignment: 1
  626. -- font id: 0
  627. -- text size: 12
  628. -- style flags: 0
  629. -- line height: 16
  630. -- part name: Pop Card
  631. ----- HyperTalk script -----
  632. on mouseUp
  633.   do short name of me
  634. end mouseUp
  635.  
  636.  
  637.  
  638. -- part 25 (button)
  639. -- low flags: 00
  640. -- high flags: 2000
  641. -- rect: left=368 top=185 right=216 bottom=400
  642. -- title width / last selected line: 0
  643. -- icon id / first selected line: 5071 / 5071
  644. -- text alignment: 1
  645. -- font id: 0
  646. -- text size: 12
  647. -- style flags: 0
  648. -- line height: 16
  649. -- part name: Pop Card
  650. ----- HyperTalk script -----
  651. on mouseUp
  652.   do short name of me
  653. end mouseUp
  654.  
  655.  
  656.  
  657. -- part 26 (button)
  658. -- low flags: 00
  659. -- high flags: 2000
  660. -- rect: left=368 top=219 right=251 bottom=399
  661. -- title width / last selected line: 0
  662. -- icon id / first selected line: 5073 / 5073
  663. -- text alignment: 1
  664. -- font id: 0
  665. -- text size: 12
  666. -- style flags: 0
  667. -- line height: 16
  668. -- part name: Pop Card
  669. ----- HyperTalk script -----
  670. on mouseUp
  671.   do short name of me
  672. end mouseUp
  673.  
  674.  
  675.  
  676. -- part 27 (button)
  677. -- low flags: 00
  678. -- high flags: 2000
  679. -- rect: left=410 top=138 right=161 bottom=442
  680. -- title width / last selected line: 0
  681. -- icon id / first selected line: 5063 / 5063
  682. -- text alignment: 1
  683. -- font id: 0
  684. -- text size: 12
  685. -- style flags: 0
  686. -- line height: 16
  687. -- part name: Go To Prev Card
  688. ----- HyperTalk script -----
  689. on mouseUp
  690.   do short name of me
  691. end mouseUp
  692.  
  693.  
  694.  
  695. -- part 28 (button)
  696. -- low flags: 00
  697. -- high flags: 2000
  698. -- rect: left=411 top=161 right=183 bottom=445
  699. -- title width / last selected line: 0
  700. -- icon id / first selected line: 5064 / 5064
  701. -- text alignment: 1
  702. -- font id: 0
  703. -- text size: 12
  704. -- style flags: 0
  705. -- line height: 16
  706. -- part name: Go To Next Card
  707. ----- HyperTalk script -----
  708. on mouseUp
  709.   do short name of me
  710. end mouseUp
  711.  
  712.  
  713.  
  714. -- part 29 (button)
  715. -- low flags: 00
  716. -- high flags: 2000
  717. -- rect: left=447 top=150 right=183 bottom=473
  718. -- title width / last selected line: 0
  719. -- icon id / first selected line: 5069 / 5069
  720. -- text alignment: 1
  721. -- font id: 0
  722. -- text size: 12
  723. -- style flags: 0
  724. -- line height: 16
  725. -- part name: Pop Card
  726. ----- HyperTalk script -----
  727. on mouseUp
  728.   do short name of me
  729. end mouseUp
  730.  
  731.  
  732.  
  733. -- part 30 (button)
  734. -- low flags: 00
  735. -- high flags: 2000
  736. -- rect: left=411 top=184 right=217 bottom=443
  737. -- title width / last selected line: 0
  738. -- icon id / first selected line: 5070 / 5070
  739. -- text alignment: 1
  740. -- font id: 0
  741. -- text size: 12
  742. -- style flags: 0
  743. -- line height: 16
  744. -- part name: Pop Card
  745. ----- HyperTalk script -----
  746. on mouseUp
  747.   do short name of me
  748. end mouseUp
  749.  
  750.  
  751.  
  752. -- part 31 (button)
  753. -- low flags: 00
  754. -- high flags: 2000
  755. -- rect: left=411 top=219 right=250 bottom=442
  756. -- title width / last selected line: 0
  757. -- icon id / first selected line: 5072 / 5072
  758. -- text alignment: 1
  759. -- font id: 0
  760. -- text size: 12
  761. -- style flags: 0
  762. -- line height: 16
  763. -- part name: Pop Card
  764. ----- HyperTalk script -----
  765. on mouseUp
  766.   do short name of me
  767. end mouseUp
  768.  
  769.  
  770.  
  771. -- part 32 (button)
  772. -- low flags: 00
  773. -- high flags: 0000
  774. -- rect: left=451 top=266 right=300 bottom=485
  775. -- title width / last selected line: 0
  776. -- icon id / first selected line: 6153 / 6153
  777. -- text alignment: 1
  778. -- font id: 0
  779. -- text size: 12
  780. -- style flags: 0
  781. -- line height: 16
  782. -- part name: Lower Right Dog-Ear
  783. ----- HyperTalk script -----
  784. on mouseUp
  785.   set icon of me to 6153
  786.   if (item 1 of the clickLoc) - (item 1 of the rect of the target) < (item 4 of the rect of the target) - (item 2 of the clickLoc) then
  787.     scroll L
  788.     go this card
  789.   else
  790.     scroll R
  791.     go this card
  792.   end if
  793. end mouseUp
  794.  
  795.  
  796. -- part 33 (button)
  797. -- low flags: 00
  798. -- high flags: 0000
  799. -- rect: left=316 top=268 right=300 bottom=349
  800. -- title width / last selected line: 0
  801. -- icon id / first selected line: 6150 / 6150
  802. -- text alignment: 1
  803. -- font id: 0
  804. -- text size: 12
  805. -- style flags: 0
  806. -- line height: 16
  807. -- part name: Lower Left Dog-Ear
  808. ----- HyperTalk script -----
  809. on mouseUp
  810.   if ((item 3 of the rect of the target) - (item 1 of the clickLoc) < (item 4 of the rect of the target) - (item 2 of the clickLoc)) then
  811.     scroll R
  812.     go this card
  813.   else
  814.     scroll L
  815.     go this card
  816.   end if
  817. end mouseUp
  818.  
  819.  
  820. -- part 34 (button)
  821. -- low flags: 00
  822. -- high flags: 0000
  823. -- rect: left=357 top=264 right=295 bottom=440
  824. -- title width / last selected line: 0
  825. -- icon id / first selected line: 0 / 0
  826. -- text alignment: 1
  827. -- font id: 0
  828. -- text size: 12
  829. -- style flags: 0
  830. -- line height: 16
  831. -- part name: Multi-Icon Buttons
  832. ----- HyperTalk script -----
  833. on mouseUp
  834.   scroll R
  835.   go card "multi-icon buttons"
  836. end mouseUp
  837.  
  838.  
  839.  
  840. -- part 35 (field)
  841. -- low flags: 01
  842. -- high flags: 0000
  843. -- rect: left=27 top=210 right=224 bottom=109
  844. -- title width / last selected line: 0
  845. -- icon id / first selected line: 0 / 0
  846. -- text alignment: 1
  847. -- font id: 3
  848. -- text size: 9
  849. -- style flags: 10496
  850. -- line height: 12
  851. -- part name: 
  852. ----- HyperTalk script -----
  853. on mouseUp
  854.   if card field id 35 is "More Buttons" then
  855.     put "Hide Buttons" into card field id 35
  856.     repeat with this = 7 to 17
  857.       show btn id this
  858.     end repeat
  859.   else
  860.     lockcard
  861.     put "More Buttons" into card field id 35
  862.     repeat with this = 17 down to 7
  863.       hide btn id this
  864.     end repeat
  865.   end if
  866. end mouseUp
  867.  
  868.  
  869. -- part 36 (button)
  870. -- low flags: 00
  871. -- high flags: 0000
  872. -- rect: left=316 top=80 right=112 bottom=348
  873. -- title width / last selected line: 0
  874. -- icon id / first selected line: 6151 / 6151
  875. -- text alignment: 1
  876. -- font id: 0
  877. -- text size: 12
  878. -- style flags: 0
  879. -- line height: 16
  880. -- part name: Upper Left Dog-Ear
  881. ----- HyperTalk script -----
  882. on mouseUp
  883.   set icon of me to 6151
  884.   if (item 1 of the clickLoc) - (item 1 of the rect of the target) < (item 4 of the rect of the target) - (item 2 of the clickLoc) then
  885.     scroll L
  886.     go this card
  887.   else
  888.     scroll R
  889.     go this card
  890.   end if
  891. end mouseUp
  892.  
  893.  
  894. -- part 37 (button)
  895. -- low flags: 00
  896. -- high flags: 0000
  897. -- rect: left=454 top=80 right=112 bottom=485
  898. -- title width / last selected line: 0
  899. -- icon id / first selected line: 6152 / 6152
  900. -- text alignment: 1
  901. -- font id: 0
  902. -- text size: 12
  903. -- style flags: 0
  904. -- line height: 16
  905. -- part name: Upper Right Dog-Ear
  906. ----- HyperTalk script -----
  907. on mouseUp
  908.   set the icon of me to 6152
  909.   if ((item 3 of the rect of the target) - (item 1 of the clickLoc) < (item 4 of the rect of the target) - (item 2 of the clickLoc)) then
  910.     scroll R
  911.     go this card
  912.   else
  913.     scroll L
  914.     go this card
  915.   end if
  916. end mouseUp
  917.  
  918.  
  919. -- part 38 (button)
  920. -- low flags: 00
  921. -- high flags: E004
  922. -- rect: left=93 top=311 right=327 bottom=152
  923. -- title width / last selected line: 0
  924. -- icon id / first selected line: 0 / 0
  925. -- text alignment: 1
  926. -- font id: 204
  927. -- text size: 12
  928. -- style flags: 0
  929. -- line height: 16
  930. -- part name: Buttons
  931. ----- HyperTalk script -----
  932. on mouseUp
  933.   set hilite of me to true
  934.   beep
  935.   answer "You're already in" && quote & short name of me & quote & "."
  936. end mouseUp
  937.  
  938.  
  939. -- part contents for background part 56
  940. ----- text -----
  941. the button breeder
  942.  
  943. -- part contents for background part 78
  944. ----- text -----
  945. Prev Card: the allover analyzer
  946.  
  947. -- part contents for background part 79
  948. ----- text -----
  949. Next Card: pushbuttons and switches
  950.  
  951. -- part contents for card part 35
  952. ----- text -----
  953. More Buttons
  954.  
  955. -- part contents for background part 108
  956. ----- text -----
  957. Open Aplication
  958. Organizational Chart
  959. OverLoad
  960.  
  961. -- part contents for background part 97
  962. ----- text -----
  963. Date & Time
  964. DeProtect Stack
  965. Dedications
  966. Descriptions
  967. Digitized Sounds
  968. Disk Space Available
  969. Don't Click Here
  970. Don't Panic
  971.  
  972. -- part contents for background part 124
  973. ----- text -----
  974.  
  975.  
  976.  
  977.  
  978. -- part contents for background part 83
  979. ----- text -----
  980. 49.06 K
  981.  
  982. -- part contents for background part 68
  983. ----- text -----
  984. 205,115
  985.  
  986. -- part contents for background part 67
  987. ----- text -----
  988. Mouse Location:
  989.  
  990. -- part contents for background part 82
  991. ----- text -----
  992. Free Space: